#include<iostream>
#include<unistd.h>


int main(int argc, char* agrv[], char* env[])
{
    for(int i = 0; i < argc; i++)
    {
        std::cout << agrv[i] << std::endl;
    }
    for(int i = 0; env[i]; i++)
    {
        std::cout << env[i] << std::endl;
    }
    std::cout << "程序替换之后：" << getpid() << std::endl;

    return 0;
}
